reading a line plot